package com.sugar.follow.up.module.business.controller.admin.tag.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 标签新增/修改 Request VO")
@Data
public class TagSaveReqVO {

    @Schema(description = "标签ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14985")
    private Long id;

    @Schema(description = "标签标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标签标题不能为空")
    private String title;

    @Schema(description = "标签内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "标签内容不能为空")
    @Size(min = 1, message = "标签内容不能为空")
    private List<String> content;

}